package com.zhiyou.app.shop.common.util;

import java.math.BigDecimal;

public class ShopConstants {
	
	public static String LOGIN_USER = "user";
	public static String ADMIN_LOGIN_USER = "admin";
	
	//删除状态  0：正常    1：删除
	public static String TRUE = "0";
	public static String FALSE = "1";

	//用户角色  1：管理员   2：普通用户
	public static String ADMIN = "1"; //顶层用户
	public static String MEMBER = "2";			//自由用户
	public static String MEMBER_COMPANY = "3";	//公司用户
	
	//股票交易信息类型
	public static final String STOCK_INFO_BUY="0";//买入
	public static final String STOCK_INFO_SELL="1";//沽出

	//数据字典项 type
	public static String MAIL_TYPE = "mail_type"; // 邮件类型
	public static String LEVEL = "level"; //用户级别
	public static String LOCATION = "location"; //市场部门  左区 右区
	public static String BANK_TYPE = "bank_type"; //银行类型
	public static String NEWS_TYPE = "news_type";  //新闻类型
	public static String ENTER_TYPE = "enter_type";  //用户注册方式
	public static String STOCK_SALE_RATE = "stock_sale_rate"; //每天股票卖出的百分比
	public static String TRANSFER_TYPE = "transfer_type"; //兑换类型
	public static String MUTUAL_CONVERSION = "mutual_conversion";  //互转中心手续费     目前定  转账放出
	public static String LOVE_FOUND = "love_found";  //爱心基金   每次会扣除奖金的百分比
	public static String APPLY_ACTIVITY_RATE = "apply_activity_rate"; //报单中心  报单多发放比率
	public static String EP_FEE = "ep_fee";  //ep交易手续费（卖方出）
	public static String EP_CARRY_FEE = "ep_carry_fee";  //ep交易中的银行转账费用
	public static String EP_STATUS = "ep_status"; //ep交易状态
	public static String EP_TIME = "ep_time";  //ep的交易时间
	public static String BONUS = "bonus"; //对碰奖金率
	public static String EXCHANG_STOCK_RATE = "exchang_stock_rate";  //激活豆转游戏豆  比率
	
	//账户类型
	public static String ACTIVITY = "activity";
	public static String PRIZE= "prize";
	public static String STOCK= "stock";  //股金
	public static String STOCK_NUM ="stock_num";
	public static String RESUMER= "resumer";
	public static String ADD = "add"; //加单账户(附属账户)
	public static String LOVE_FUND ="lovefund";
	
	public static String ACCOUNT_TYPE = "account_type"; 
	
	//会员类型
	public static String FULL_MEMBER = "正式会员";
	public static String NON_MEMBER = "未激活";
	
	
	//奖金类型
	public static String DIRECT = "直推奖";
	public static String BONUSS = "对碰奖";
	public static String LEADER = "领导奖";
	public static String POINT = "见点奖";
	public static String RECONSUME = "重消";
	public static String LOVE = "爱心基金";
	public static String PRIZE_SCALE = "prize_scale"; //会员奖金的10%作为重消  2%作为爱心基金  剩下88%是实际奖金  可以在数据字典中调整
	
	
	//奖金比例
	public static BigDecimal FLOOR_RATE= new BigDecimal(0.01);  //分层的 见点奖的1%
	public static BigDecimal LEADER_RATE = new BigDecimal(0.1);  //领导奖拿代的对碰奖的10%
	public static BigDecimal BONUS_RATE = new BigDecimal(0.1);   //对碰奖拿金额的10%
	
	//后台充值 、扣款
	public static String CHARGE = "charge";  //扣款 充值 
	public static String CHARGE_ACCOUNT = "charge_account";  //扣款 充值 的账户
	
	
	//股票停复盘
	public static String STOCK_FLAG = "stock_flag";//0：不买      1：买
	
	//xmpp
	public static String XMPP = "xmpp_ip";
	
	public static String UPLOAD_PATH = "D:/upload/"; //上传附件路径
}
